package com.example.blogback.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "文章数据传输对象")
public class ArticleDTO {
    @Schema(description = "文章ID")
    private Long id;
    
    @Schema(description = "文章标题")
    private String title;
    
    @Schema(description = "分类ID")
    private Long categoryId;
    
    @Schema(description = "文章内容")
    private String content;
    
    @Schema(description = "封面图片URL")
    private String coverImage;
    
    @Schema(description = "是否为精选文章")
    private Boolean featured;
}